package com.xkcoding.helloworld.service.impl;

import com.xkcoding.helloworld.service.DemoService;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

/**
 * TODO
 *
 * @Author ziyiHuang
 * @Date 2022/12/1 22:12
 **/
@Primary
@Service
public class DemoServiceImpl implements DemoService {

    protected String AA = "aa";

    @Override
    public void print() {
        System.out.println(AA + "print end...");
    }
}
